package pzl.com.strategypattern.interfaces.imp;

import android.util.Log;

import pzl.com.strategypattern.interfaces.IPriceStrategy;

/**
 * 高级会员策略
 *
 * @author zl.peng
 * @version [1.0, 2016-11-02]
 */
public class AdvancedMemberStrategy implements IPriceStrategy {
    static final String TAG = "AdvancedMemberStrategy";

    @Override
    public double calcPrice(double goodsPrice) {
        Log.d(TAG, "高级会员7折");
        return goodsPrice * 0.7;
    }
}
